package com.waiting.collection;

import java.util.LinkedList;
import java.util.List;

/**
 * @Description
 * @Author bjweitingting
 * @Date 2018/9/26
 **/
public class Main {
    String global;
    public static void main(String[] args) {
        List<Integer> testList=new LinkedList<>();
        Main main=new Main();
        main.listAdd(testList);
        System.out.println(testList.size());
        System.out.println(testList.get(0));
    }
    public void listAdd( List<Integer> testList){
        testList.add(12);
        String test;
        System.out.println(global);
    }
}
